From d0363bd036fd0f80dbb7ea96bc963024aeb8cf82 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Sat, 1 Feb 2003 01:22:05 +0000 Subject: [PATCH] (Fcopy_file) [WINDOWSNT]: Reverse logic for setting timestamp. --- src/fileio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fileio.c b/src/fileio.c index 72c9faccddd..02b45ed077c 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -2405,7 +2405,8 @@ A prefix arg makes KEEP-TIME non-nil. */) SDATA (encoded_newname), FALSE)) report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil))); - else if (!NILP (keep_time)) + /* CopyFile retains the timestamp by default. */ + else if (NILP (keep_time)) { EMACS_TIME now; DWORD attributes; -- 2.30.2